<include file="Public:top"/>

<script src="__PUBLIC__/libs/laydate/laydate.js"></script>
<div class="report">
    <div class="report-tit">
        <img src="__PUBLIC__/Sale/imgs/report.png"/>
        销售员完成订单量查询
    </div>
    <div class="report-bill">
        <div class="report-bill-time report-billg-time">
            <form action="" method="get">
                <input type="text" name="start" id="hello1" value="{$s}"/>
                <span class="laydate-icon" onclick="laydate({elem: '#hello1'});" alt="le"></span>
                -
                <input type="text" name="end" id="hello2" value="{$e}"/>
                <span class="laydate-icon" onclick="laydate({elem: '#hello2'});" alt="ri"></span>
                <input type="submit" value="&nbsp;" class="sub"/>
                <select name="sal" class="sales">
                    <option value="1">全部销售员</option>
                    <volist name="sele" id="v">
                        <option value="{$v.ssa_id}">{$v.ssa_name}</option>
                    </volist>
                </select>
                <div class="clear"></div>
            </form>
        </div>
        <table cellspacing="0" cellpadding="0" class="report-table" width="1060">
            <tr>
                <th>销售员</th>
                <th>成交台数</th>
                <th>成交时间</th>
                <th>订单归属</th>
            </tr>
            <volist name="list.data" id="v">
                <tr align="center">
                    <td>{$v.dll_ordsn|getsalename=$v['dll_ordsn'],###}</td>
                    <td>{$v.dll_ordsn|getordnum=$v['dll_ordsn'],###}</td>
                    <td>{$v.dll_ordsn|getordinfo=$v['dll_ordsn'],'ord_addtime',###}</td>
                    <td>{$v.dll_ordsn|getordloc=$v['dll_ordsn'],###}</td>
                </tr>
            </volist>
        </table>
        <div class="report-page">
            {$list.page}
        </div>
    </div>
</div>

<include file="Public:fot"/>